package com.gitee.kenewstar.migration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import lombok.Data;

import java.util.Date;

/**
 * @author kenewstar
 */
@Data
@TableName(value = "hpfm_code_rule_detail", schema = Const.HZERO_PLATFORM)
public class CodeRuleDetail {

    @TableId(type = IdType.AUTO)
    private Long ruleDetailId;
    private Long ruleDistId;
    private Integer orderSeq;
    private String fieldType;
    private String fieldValue;
    private String dateMask;
    private Long seqLength;
    private Long startValue;
    private Long currentValue;
    private String resetFrequency;
    private Date resetDate;
    private Integer encryptedFlag;
    private Long tenantId;

}
